package com.springdemo.basic.global.dao;


import com.springdemo.basic.global.page.BasePage;

import java.util.List;

public interface BaseDao<T> {
	
	public int add( T t );

	public int update( T t );

	public int updateBySelective( T t );

	public int delete( Object id );

	public int queryByCount( BasePage page );

	public List<T> queryByList( BasePage page );

	public T queryById( Object id );
}
